﻿namespace FFF.Test.Entity.CF
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.CF.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 业务参数字典表(树)
    /// </summary>
	[Table("CF_BizOption")]
    [Display(Name = "业务参数字典表(树)", Description = "业务参数字典表(树)")]
    [AutoMapFrom(typeof(ViewCFBizOption))] 
    public partial class CFBizOptionEntity : BaseTreeEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("BizOptionGUID")]
        [Display(Name = "业务参数字典表(树)主键", Description = "业务参数字典表(树)主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 平台业务参数配置GUID(树)
        /// </summary>
		[Display(Name = "平台业务参数配置GUID(树)", Description = "平台业务参数配置GUID(树)")]
        [Column("BizParamSetGUID")]
        public Guid? BizParamSetGUID { get; set; }   

		/// <summary>
        /// 字典项名称
        /// </summary>
		[Display(Name = "字典项名称", Description = "字典项名称")]
        [Column("BizOptionName")]
		[StringLength(128)]
        public string BizOptionName { get; set; }   

		/// <summary>
        /// 字典的Code
        /// </summary>
		[Display(Name = "字典的Code", Description = "字典的Code")]
        [Column("BizOptionCode")]
		[StringLength(128)]
        public string BizOptionCode { get; set; }   
    }
}
